<script setup lang="ts">

</script>

<template>
    <div class="home-container">
        <div class="header">
            <div class="logo">
                <div class="logo-img"></div>
                <div class="logo-title">时光校园</div>
            </div>
        </div>
        <div class="main">
            <div class="main-left">
                <div class="tip">"每一件失物，都是未完待续的故事，</div>
                <div class="tip">让丢失成为重逢的开始。"</div>
                <div class="advantage">
                    <div class="advantage-item" v-for="item in 3">
                        <img src="" alt="">
                        <div class="advantage-item-title">极速匹配</div>
                    </div>
                </div>
            </div>
            <div class="main-right"></div>
        </div>
    </div>
</template>

<style  lang="scss">
.home-container {
    width: 100%;
    height: 100vh;
    background: url(../../assets/images/background.jpg) center/cover no-repeat;
}

.header {
    background: transparent;
    height: 120px;
    padding: 40px 50px;

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;

        .logo-img {
            border-radius: 50%;
            width: 60px;
            height: 60px;
            background: url(../../assets/images/logo.png) center 45%/160% no-repeat;
        }

        .logo-title {
            font-size: 20px;
            color: #fff;
        }
    }
}

.main {
    background: transparent;
    height: calc(100vh - 120px);
    display: flex;

    .main-left {
        flex: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10%;
        .tip {
            font-size: 25px;
        }
        .advantage {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
        }
    }

    .main-right {
        flex: 3;
    }
}
</style>